<template>
	<view class="navbar">
		<view class="status_bar"><!-- 这里是状态栏 --></view>
		<view class="navbar-main">
			<slot></slot>
		</view>
	</view>
</template>

<script>
	export default {
		name:"navbar",
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
.navbar {
	background-color: $text-color;
	.status_bar {
		height: var(--status-bar-height);
		width: 100%;
	}
	.navbar-main {
		width: 100%;
		height: 88rpx;
		padding: 0rpx $nr-padd;
		display: flex;
		align-items: center;
		color: #fff;
		font-size: 36rpx;
		font-weight: bold;
		box-sizing: border-box;
	}
}
</style>
